@import './../../../lib/reset.scss';
.container {
    background-color: #f3f3f3;
    display: flex;
    flex-direction: column;
    .box {
        flex:1;
        .preview-section {
            padding: .15rem;
            background: #fff;
            overflow: hidden;
            color: #333;
            .address-box {
                display: flex;
                justify-content: space-between;
                align-items: center;
                .icon-goods-location {
                    display: inline-block;
                    vertical-align: middle;
                    margin-right: .09rem;
                    color: #999;
                    font-size: .17rem;
                }
                .address-detail {
                    width: 2.96rem;
                    display: inline-block;
                    vertical-align: middle;
                    .buyer-name-box {
                        font-size: .14rem;
                        color: #333;
                        margin-bottom: .05rem;
                        span {
                            display: inline-block;
                            vertical-align: middle;
                            &.store-config-label {
                                padding: 0 .05rem;
                                color: #fff;
                                background: #ff7100;
                                font-size: .11rem;
                                line-height: .14rem;
                                margin-right: .1rem;
                            }
                            &.buyer-name {
                                max-width: 15rem;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                margin-right: .09rem;
                                white-space: nowrap;
                            } 
                        }
                    }
                    .buyer-address {
                        font-size: .13rem;
                        color: #666;
                        line-height: .185rem;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 2;
                        word-break: break-all;
                    }
                }
                .icon-rightarrow {
                    font-size: .11rem;
                    color: #d2d2d2;
                    vertical-align: middle;
                    display: inline-block;
                    margin-left: .09rem;
                }
            }
        }
        .address-bg {
            width: 100%;
            height: .03rem;
            background: #fff;
            margin-bottom: .08rem;
            img {
                width: 100%;
                height: 100%;
                display: block;
            }
        }
        .preview-goods-order-list {
            padding: 0 .15rem;
            background: #fff;
            .preview-goods-order-item {
                border-bottom: none;
                padding: .15rem 0;
                display: flex;
                justify-content: space-between;
                .preview-goods-cover {
                    width: .78rem;
                    height: .78rem;
                }
                .preview-goods-content {
                    flex:1;
                    margin-left: .15rem;
                    height: .78rem;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    .preview-goods-title {
                        font-size: .13rem;
                        color: #333;
                        margin-bottom: .03rem;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 2;
                        word-break: break-all;
                    }
                    .goods-price-box {
                        display: flex;
                        justify-content: space-between;
                        bottom: 0;
                        width: 100%;
                        .preview-goods-price {
                            font-size: .14rem;
                            color: #ff7100;
                            vertical-align: top;
                        }
                        .good-number-box {
                            display: inline-block;
                            vertical-align: top;
                            margin-top: -.01rem;
                            .changenum {
                                width: .25rem;
                                line-height: .2rem;
                                box-sizing: border-box;
                                border: .01rem solid #ebebeb;
                                text-align: center;
                                display: inline-block;
                                font-size: .12rem;
                                vertical-align: middle;
                                padding: 0;
                                max-height: .22rem;
                                min-height: .22rem;
                                color: #999;
                                &.goods-num-mius {
                                  border-radius: .02rem 0 0 .02rem;
                                }
                                &.goods-num-plus {
                                  color: #ff7100;
                                  border-radius: 0 .02rem .02rem 0;
                                }
                                &.goods-num-box {
                                  border-right: 0;
                                  border-left: 0;
                                  color: #333;
                                  width: .2rem;
                                }
                              }
                        }
                    }
                }
            }
        }
        .preview-box {
            background: #fff;
            padding: 0 .15rem;
            margin-top: .08rem;
            div {
                border-bottom: 1px solid #f3f3f3;
                &.single-box {
                    line-height: .42rem;
                    overflow: hidden;
                    .pull-right {
                        float: right;
                        .remark {
                            width: 2.5rem;
                            height: .42rem;
                            min-height: .42rem;
                            line-height: 1;
                            text-align: right;
                            border: none;
                        }
                    }
                }
                .buyer-message {
                    border: none;
                }
            }
        }
    }
    .foot-payment {
        line-height: .46rem;
        border-top: .01rem solid #ebebeb;
        font-size: 0;
        background-color: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .preview-goods-total-price {
            flex:1;
            font-size: .15rem;
            vertical-align: middle;
            color: #333;
            text-align: left;
            text-indent: .18rem;
            .price-count {
                color: #ff7100;
                font-size: .17rem;
            }
        }
        form {
            width: 1.67rem;
            button {
                width: 100%;
                font-size: .15rem;
                border-radius: 0;
                color: #fff;
                background-color: #ff7100;
                line-height: inherit;
            }
        }
    }
}